FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"

{% block kubetoolbox_header %}{% endblock %}

{% import "macros.j2" as macros with context %}

{% set kubetoolbox_packages = [
   'ceph-common',
   'ipmitool',
   'jq'
] %}

{{ macros.install_packages(kubetoolbox_packages | customizable("packages")) }}

{% block kubetoolbox_install_kube_binary %}
    {{ macros.install_kubectl() }}
{% endblock %}

{% block kubetoolbox_footer %}{% endblock %}
{% block footer %}{% endblock %}
